Package-level declarations

Types

Link copied to clipboard
sealed class GetTeamDetailResult

Result type for getting a single team.

Link copied to clipboard
sealed class GetTeamsResult

Result type for getting paginated teams list. Contains pagination metadata and partial data indicator.

Link copied to clipboard
sealed class TeamChangeEvent

Event types for team change notifications.

Link copied to clipboard
sealed class TeamError : Exception

Sealed class representing different types of team-related errors.

Link copied to clipboard
data class TeamMember(val userUid: String, val teamUid: String, val user: ZyncUser?)

Domain model representing a team member (user within a team).

Link copied to clipboard

Enum representing different member roles within a team.

Link copied to clipboard
sealed class TeamResult

Result wrapper for team operations.

Link copied to clipboard
data class TeamStats(val totalMembers: Int, val activeMembers: Int, val teamLeads: Int, val avgMemberTenure: Double? = null, val completedJobs: Int? = null, val activeJobs: Int? = null)

Data class for team statistics and metrics.

Link copied to clipboard

Enum representing team status and activity levels.

Link copied to clipboard
data class ZyncTeam(val teamUid: String, val teamName: String, val usersCount: Int, val teamColor: String? = null, val teamDescription: String? = null, val isActive: Boolean = true)

Domain model representing a Team in the Zuper system.

Link copied to clipboard
data class ZyncTeamDetail(val teamUid: String, val teamName: String, val teamDescription: String?, val teamColor: String?, val isActive: Boolean, val createdAt: String?, val users: List<ZyncUser>, val customFields: List<ZyncFormField>)
Link copied to clipboard
data class ZyncTeamSortAndFilter(val sortType: ZyncSortType = ZyncSortType.Ascending, val sortBy: ZyncTeamSortBy = ZyncTeamSortBy.TeamName, val keyword: String? = null, val userUid: String? = null, val isActive: Boolean? = null)
Link copied to clipboard